package org.ykh.gmall.order;

import org.ykh.gmall.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;

import java.util.Date;

@Data
@Schema(description = "订单状态记录")
@TableName("order_status_log")
public class OrderStatusLog extends BaseEntity {
   
   private static final long serialVersionUID = 1L;
   
   @SchemaProperty(name = "orderId")
   @TableField("order_id")
   private Long orderId;

   @SchemaProperty(name = "orderStatus")
   @TableField("order_status")
   private String orderStatus;

   @SchemaProperty(name = "operateTime")
   @TableField("operate_time")
   private Date operateTime;

}